<div class="tmporders view">
<h2><?php  __('Tmporder');?></h2>
	<dl><?php $i = 0; $class = ' class="altrow"';?>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Id'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['id']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Ordertype'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($tmporder['Ordertype']['name'], array('controller' => 'ordertypes', 'action' => 'view', $tmporder['Ordertype']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Document Text'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['document_text']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Students'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $html->link($tmporder['Students']['id'], array('controller' => 'students', 'action' => 'view', $tmporder['Students']['id'])); ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Author'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['author']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Approved'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['approved']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Created'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['created']; ?>
			&nbsp;
		</dd>
		<dt<?php if ($i % 2 == 0) echo $class;?>><?php __('Modified'); ?></dt>
		<dd<?php if ($i++ % 2 == 0) echo $class;?>>
			<?php echo $tmporder['Tmporder']['modified']; ?>
			&nbsp;
		</dd>
	</dl>
</div>
<div class="actions">
	<ul>
		<li><?php echo $html->link(__('Edit Tmporder', true), array('action' => 'edit', $tmporder['Tmporder']['id'])); ?> </li>
		<li><?php echo $html->link(__('Delete Tmporder', true), array('action' => 'delete', $tmporder['Tmporder']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $tmporder['Tmporder']['id'])); ?> </li>
		<li><?php echo $html->link(__('List Tmporders', true), array('action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Tmporder', true), array('action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Ordertypes', true), array('controller' => 'ordertypes', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Ordertype', true), array('controller' => 'ordertypes', 'action' => 'add')); ?> </li>
		<li><?php echo $html->link(__('List Students', true), array('controller' => 'students', 'action' => 'index')); ?> </li>
		<li><?php echo $html->link(__('New Students', true), array('controller' => 'students', 'action' => 'add')); ?> </li>
	</ul>
</div>
